const base='/user';
export const userApi= {
    //获取用户信息
    getInfo:`${base}/get/usinfo`,
    //用户登录
    sysLogin: `${base}/login`,
    sysLogout:`${base}/logout`,
//用户密码修改API POST
    userUpdatePassword: `${base}/update/resetpassword`,
//用户信息更新api - 普通信息
    userUpdateMessage: `${base}/update`,
//邮箱验证码发送api
//     checkCodeSend: "/checkcode.js/send",
//用户修改
    userUpdateAdmin: `${base}/update`,
//用户注册api
    userRegister: `${base}/register`,
    userAdd: `${base}/add`,
//通过id获取用户信息 GET
    getUserById: `${base}/get?id:`,
    getUserAccountbyID: `${base}/get/userAccount?id:`,
//获取用户昵称
    getUserNamebyID: `${base}/get/userName?id:`,
//获取用户头像api get
    getUserAvatarByUserAccount: `${base}/get/userAvatar?useraccount:`,
    getUserAvatarById: `${base}/get/userAvatar?id:`,
    exportVoExcel: `${base}/exportVoExcel`,
    getUserslistPage: `${base}/list/page`,
//删除
    deleteUser: `${base}/delete`,
    getUUID: `${base}/loginScreen`
}